186 research outputs found
Sorting a Low-Entropy Sequence
We give the first sorting algorithm with bounds in terms of higher-order
entropies: let be a sequence of length containing distinct elements
and let (H_\ell (S)) be the th-order empirical entropy of , with
(n^{\ell + 1} \log n \in O (m)); our algorithm sorts using ((H_\ell (S) + O
(1)) m) comparisons
- β¦